Anyone can tell me in any situation use both .
aim: something you hope to achieve by doing something: The main aim of the plan was to provide employment for local people.
target: the exact result that a person or organization intends to achieve by doing something, often the amount of money they want to get; a particular amount or total that you want to achieve: The company is on track to meet its target of increasing profits by 10%.
Thank you svetlana