What is the purpose of an end of line or EOL device in an alarm circuit?

What is the purpose of an end of line or EOL device in an alarm circuit?