Except for Jodo Shinshu sect (the True Pure Land Sect of Buddhism) and Nichiren sect, a funeral ceremony is mainly for Jukai jobutsu (to enter a dead person into Nirvana by giving religious precepts) of a dead person in the Japanese Buddhism.
浄土真宗、日蓮宗を除き日本の仏教においては、葬儀は死者に対する授戒成仏が主たる意味を持つ。