Siemens interview question

Describe a PLC and its applications.