Another way to say "People go to the beach to relax" is "A relaxing place to go is the beach."