Where is the comet when its tail is visible?

a. Near a cloud
b. Near the Earth
c. Near the Moon
d. Near the Sun​