This is the 974th most frequent Spanish word.
peligro
Danger.
In this sentence, 'peligro' is used as a noun referring to a condition or state that poses a risk or threat.
El peligro de la situación era evidente.
The danger of the situation was evident.
Here, 'peligro' is again a noun, describing an immediate or forthcoming threat.
Gritó para advertirnos del peligro inminente.
He shouted to warn us of the imminent danger.
In this usage, 'peligro' conveys someone or something potentially being harmed or at risk.