Correct option: Both processes A and B are chemical changes.
Solution: Production of biogas from animal waste by the action of bacteria is chemical change because new substance biogas is formed. Thus, process A is a chemical change. Biogas works as fuel and produces heat. Hence, process B is also a chemical change.