Name the type of chemical reactions involved in the cases given below:
1. Burning of hydrogen to form water
2. Passage of electricity through water that gives out hydrogen and oxygen
When hydrogen in oxygen, water is formed; when electricity is passed through water, hydrogen and oxygen are given out. Name the type of chemical changes involved in the two cases.