Another way to say "the sun is for getting a suntan" is "You can get a suntan in the sun"