Check out example codes for "how to set a windows background image tkinter". It will help you in understanding the concepts better.

Code Example 1

from tkinter import *
from tkinter import messagebox
top = Tk()

C = Canvas(top, bg="blue", height=250, width=300)
filename = PhotoImage(file = "C:\\Users\\location\\imageName.png")
background_label = Label(top, image=filename), y=0, relwidth=1, relheight=1)


Learn ReactJs, React Native from