BRK 769AC replacement?

No idea where the cover is.

I know black wire goes to black wire and white wire to white wire.

Since there is only 1 hard wired detector in the house, what is the green wire for?