Another way to say "visiting a museum is for education" is "Visiting a museum is educational."