Leviticus 16:5
16:5 He must also take two male goats from the congregation of the Israelites for a sin offering and one ram for a burnt offering.
Leviticus 16:8-10
16:8 and Aaron is to cast lots over the two goats, one lot for the Lord and one lot for Azazel.
16:9 Aaron must then present the goat which has been designated by lot for the Lord, and he is to make it a sin offering,
16:10 but the goat which has been designated by lot for Azazel is to be stood alive before the Lord to make atonement on it by sending it away to Azazel into the wilderness.