Selling a home can generate tax consequences, but there is an exception whereby a gain on the sale of a primary residence may be excluded from income, called a Section 121 exclusion. Taxpayers can exclude up to $250,000 ($500,000 if married filing a joint return) gain on the sale of a principal residence if the following eligibility tests are satisfied.
Since you have owned and lived in the home from 2015-2022, you would qualify to exclude up to $500,000 gain on a Married Filing Joint return (provided you have not excluded another gain on sale of home in the last 2 years as well).
You would calculate your gain based on your basis in the home versus the selling price of the home. The basis in a home received as an inheritance is the home’s Fair Market Value on the date of the decedent’s death or the alternate valuation date, Additionally, you can include the cost of any additions and other improvements that have a useful life of over a year to your basis.
IRS Publication 523, Selling Your Home, has a lot of information regarding the sale of a home - see this link to the publication: IRS Publication 523