Depend if you are in a scientific way or not:
Scientific: meaning of life is to perpetuate your species, regulate others and as human depend of what do you with.
Religious/Spiritual: God/a great force create everything and you have to obey/you are free to obey or not but it's better if you do.