Which of the following best describes a neural network in artificial intelligence?
- A type of database used for storing and retrieving information
- A single-layered model that cannot process complex data
- A fixed algorithm that uses hard-coded rules for decision-making
- A system of layers and nodes that mimic brain functions to learn patterns