Conditional operator is an alternative of:

if— else

While

if

Nested if