Hi @ApoorvaHS
Just to add to my previous response, you can't remove the unmanaged components in production until unless you delete each and every component in the solution.
Deleting unmanaged solution just deletes the solution record but the components in the solution remains.
As suggested by @TuongDoan , you can use Power Platform Pipelines for moving the solution to Production but for using this feature your Test and Prod environments should be Managed environment, else you can't.
If your Test, Prod are not managed environments, you can follow the steps as mentioned in my previous reply. Hope this helps..
If I have answered your question, please mark your post as Solved.
If you like my response or got a direction forward to proceed, please give it a Thumbs Up at least. Appreciate your Kudos. You can accept more than one post as a solution.
If you were still facing any issue or challenge, please do let me know so that I can try to check for you. Happy to help you further.
Blog: https://ecellorscrm.com
Cheers,
PMDY