They mainly study them through telescopes. They also send different kinds of spacecraft to other planets and their moons. Humans landed on the moon for the first time about 50 years ago and we have sent spacecraft to many planets, including one currently on Mars!