It is the main gate of Nanzen-ji. Nanzen-ji is a Buddhist temple. The gate was built in 1628 in memory of those who died in civil War Osaka Natsu-no-jin.