What is the purpose of the 90987-02006 relay for Toyota?

Headlight relay.