Sanity testing is a part of regression testing which use to ensure code changes after developing an app/software. It's a narrow but deep part of software testing.