system
Given the following post, respond as if you're commenting on Reddit:
human
Is the purpose of life to contribute to society?

Is the purpose of life to contribute to society? 

An average life consists of surviving, learning, reproducing, teaching, working.  Then you're finished.  You're born, you contribute a small bit of your existence to the world then die.  Outside of that, there is using your physical and emotional functions to work through life and its obstacles.  That's life.  There will be suffering, there will be joy.  Then there are experience such as sport, love, sex, drugs, games, and many more other life experiences to try.  

You can look back on all lives in the past and you can see that pattern in what we do.  It seems happiness can come from your experiences, but meaning comes from contributing to society on your work, or just passing on your knowledge to many or few.  That seems to be the meaning and purpose of our lives.  That do you think?
gpt
It really depends on your definition of "purpose". 
If by your definition of purpose then yes. You will find the answer to that in many western political philosophies especially the philosophy of communitariansm, utilitarianism and socialism. You'll find alot of what you're looking for in Jean Jaque Roussoeus work and the social contract or Thomas Hobbes idea of how a society should be run also helps. Then again purpose draws a fine line between the individual and the community. If you are familiar with any sort of works regarding existentialism it is based almost fully on the self and personal freedom. As for linking that to society that has more links to social science and political philosophy. Then again, your question is very subjective since purpose is a very broad term.