It can be any invention related to work, manufacturing, the machine, process, computer software or any other which was never introduced to the public before.
If a patent is granted in India does it mean that it will protect my invention outside India as well?
A patent granted in India is applicable only in India i.e. a patent owner cannot exercise his rights outside India. If the patent owner wants to get protection in countries outside India then they can apply for the same in other countries within 12 months of getting a patent in India.