I have this empty feeling in life and no matter how many times I try to question myself, the answers don't seem to emerge. I feel like I don't have a purpose to live and consider myself as just one of many in this world running a rat race.If you have any clue to this answer, Can you explain?
First, your emotions around this question are something that I would advise you to seek help with - whether it is with a trusted friend or relative, or someone trained to help people deal with such a sense of despair. I can tell you from personal experience, it is not an academic matter, and can be a matter of life or death. So talk to someone about how you feel, irrespective of the philosophical ramifications.
Now to the question. Generally, people seek meaning for their lives from two types of sources: objective or personal.
Objective purposes for life can be provided by the orthodox religions, some social movements, any number of collective constructs that adhere to a particular world view. In these cases, this is not a personal search of yours, but a matter of accepting a doctrine and committing to a life lived accordingly. Your part of it is deciding how you can fulfill this given purpose. Many wise and intelligent people have lived their lives according to a purpose provided to them by a school of thought, religion or other institution.
Those who are not convinced by such extrinsic influences, who have searched their own minds, explored the universe around them and found no extrinsic purpose that they believe is valid - these people have two options.
On one hand, they can adopt a lack of purpose and a kind of hopelessness as their world view, and live accordingly. Some see this as a ticket to perfect freedom. How they use this freedom is entirely up to them.
On the other hand, they can decide that a purposeless life is not worth living, and there is no power in the universe besides themselves to provide it for them. In this case, they survey the landscape of their associations - to themselves, to their family and friends, to their profession, the groups, national or ethnic to which they belong - and decide to forge a purpose for themselves out of these relationships.
This is heavy going, a tremendous responsibility. However, I will simply name for you such luminaries as Albert Einstein, Bertrand Russell, probably Eleanor Roosevelt, and many others as merely famous examples.
As you discuss your feelings with others on this topic - which again, I urge you to do - you will discover less famous persons who have struggled with this responsibility. They will have suggestions on how to go about finding a purpose, from either objective sources, or from within yourself.
So in the short term, reading your question, you HAVE forged a purpose - of finding a purpose. You have set your feet on a journey traveled by many of your fellow humans. Step one completed. Congratulations.
Before giving my two cents, I'll echo the original response: you may want to seek some kind of help if you are suffering deep emotional pain.
With that said, here is a take I agree with. I think it's the Existentialist view, a view that comes off as depressing, but in reality can be deeply liberating if we let it...
What is the purpose of a hammer? To drive nails. What is the purpose of a car? To go places. In each case the purpose of X is the greater role it serves.
This means asking about the purpose of life is asking what greater thing it serves. Therefore, unless you believe there is something beyond life to which it can stand in such a relation (e.g.: God), then the question of purpose is incoherent.
I'm not saying life has no purpose. I'm saying the question of purpose doesn't apply. So life neither has nor has no purpose.
Now, this can be deeply liberating or deeply depressing, depending on your view. The liberating part is that purpose is a double edged sword. The moment we abandon the notion of purpose, life becomes more open. Now, instead of certain narrow tracks we can tread depending on how "important" they are, we realize life simply is, and are more free to wander the field at will.
For me there is no porpouse in live. You basicly live because of evolution. There are no responsibilities that come with live (you 'need' to adopt to your environment: country, family, etc.). So basicly you have a finite amount of time you can spend however you want. After this time there is nothing for you. All your acomplishments stay on this world and disappear after a short amount of time.
The most logical thing would be to live a happy live. If you think a bit further there are 2 types of thinks that make you happy. One is good the other is bad.
If you dont want to be blind, always choose the moraly good thing.
Why live: Because you can. Even if you live a bad life you dont get anything by dying.