The President can make laws through ordinances during the recess of the Parliament.
According to Article 123 of Indian Constitution, If at any time, except when both Houses of Parliament are in session, the President is satisfied that circumstances exist which render it necessary for him to take immediate action, he may promulgate such Ordinance as the circumstances appear to him to require.