Conditional operator is an alternative of:

if

Nested if

if— else

While