Conditional operator is an alternative of:

if— else

Nested if

if

While