The Templeton Foundation has asked a number of scientists this question: “Does The Universe Have A Purpose?” The varied answers they received vary are shared on their web site.
(Thanks to millinerd for sharing this on his own blog).