If you don't choose a path when you create a new database, it will be in C:\Program Files\Microsoft SQL Server\MSSQL\Data\
Remember to check the exact location of the database before separating it in the future
The .mdf and the .ldf are both needed
.