There is more to life than just living day to day, much more. Our lives have a divine purpose. God, our Heavenly Father, has prepared a marvelous plan for our happiness. When we realize that God has a plan for us, it is easier to understand why we are on this earth. God wants each of His children to progress and become more like Him. This time on Earth provides opportunities for us to grow and progress. Coming here allows us to receive a physical body; exercise agency and learn to choose between good and evil; learn and gain experience that will help us become more like our Heavenly Father.
By following our Heavenly Father's plan, we - like all of His children - can someday return to live with Him and with our loved ones. We can have greater peace in this life and eternal joy in the life to come.
Many of our experiences here on Earth are influenced by the past. The lives of those who have come before us, both living and dead, are rich with examples of goodness, service to others, marvelous achievements and realization of dreams.