The Defence Ministry in India has five divisions/departments. Identify the following departments based on the information provided below.
Department 'X' is responsible for the scientific aspects of military equipment.
Department 'Y' deals with matters on defence production and indigenisation of imported stores.
Department 'Z' takes care of welfare and pensionary matters of retired army personnel.