Section 377 of IPC 1860: Unnatural offences
Unnatural offences-Indian Penal Code
Whoever voluntarily has carnal intercourse against the order of nature with any man, woman or animal, shall be punished with imprisonment for life, or with imprisonment of either description for a term which may extend to ten years, and shall also be liable to fine.