What Are the Real-Time Examples of Smoke and Sanity Testing?

Today, almost every business is effectively dependent on software and before these are released for their users, software testing becomes crucial. Software testing is a wide concept with different testing types and each testing type having a different purpose in the software development lifecycle (SDLC). 

Among the many different types of testing, smoke testing and sanity testing are two most confusing terms as these two revolve around the software build. However, these two tests help teams to overcome the functional complexities in the program.