It depends on your point of view. For the studios, the point was to make money. For Gene Roddenberry, it was to make statements about the world. In fact he was quoted as saying "by changing the rules I can make statements about whatever the hell I want". This has happened less and less with the different shows, because the audience doesn't want alot of that anymore, but that was originally the purpose of the show.