Another way to say "People go to the beach to relax" is "The beach is a relaxing place to visit"