The image below shows a pool being heated using energy from the Sun.

Which of the following correctly lists the sequence of how energy flows to heat the pool?
A
Sun → pipes → swimming pool → solar panel

B
Sun → solar panel → pipes → swimming pool

C
swimming pool → pipes → solar panel → Sun

D
pipes → swimming pool → solar panel → Sun

B

Sun → solar panel → pipes → swimming pool