The basic function of Legislative body is to make laws, introduce new legislation in the Parliament or State Assembly and the members of these bodies are directly elected by the citizens for Lower Houses and indirectly in the case of Upper Houses.
The Executive body has the duty to execute and implement the laws & legislation laid out the legislative body and the duty lies with Chief Minister of a State and Prime Minister of India, both represent executive organ of State and Union respectively.
However since some laws and legislation made needs to be interpreted as well, then in that situation Judiciary has its jurisdiction, highest court in India is Supreme Court, state highest court is High Court and rest are District Courts.