Don’t have any dash, dome or tail lights when headlights are on?

Everyone thank you so much for all the help in explaining the situation to someone who isn’t as well versed in the electrical aspect of things. Explaining it in greater detail and simpler has been a tremendous help. In fact the problem was at the fuse box. One of the fuses shown in the previous photo was blown. I replaced it and also lightly sanded all the metal hold down clips in the fuse panel and coated with dielectric grease. Everything is functioning great.