Will mark brainiest!
I have two questions that I could REALLY use help with.

my first one is:
Sodium chloride is formed when the metal sodium bonds to the non metal chlorine. The atoms are held together by a(n) ______ ( would the answer be ionic bond?)

my second one is:
Why is photosynthesis an example of a chemical reaction, and why is it classified as endothermic?

thank you. :)