So this is going to be a long story. And I will try explain this complex story as simple as I can.
At the beginning I have a single hard disk where I have all my data (1TB). I now make two new partitions of 100 gb. So all my data is on the 700 and something gb of partition(LET THIS BE MAINDRIVE PARTITION). Of these two new partitions from MAINDRIVE partition One is for my important data(let this be the important Data drive partition) and the other is for the Ubuntu installation(this is unallocated)(let this be ubuntu drive partition). Now I am trying to install and the tutorial asks me to make several partition along side it (swap area , efi(because Ubuntu says it needs EFI partition or something) etc.).NOTE these all partitions come from ubuntu drive partition . At this point I still have some unallocated space from ubuntu drive partition. I do every thing, the install is complete and the computer asks me reboot so I reboot it but it doesn't load anything not Ubuntu nor windows. Just a black screen and on top left a statement which says no boot device available. So I go into boot device options and select boot from efi file i select ubuntu, i select BOOT and then the second .efi file by mistake. And miraculously the os boots and i am using ubuntu. But the problem is that windows is not booting so I try to fix it.so I formatted the main drive partition(thinking i have a backup of all of my imp. Data on imp. Data drive partition) and created a Windows bootable drive.i load the bootable USB of Windows 10. after loading into the part where it asks you to select which disk partition you want to install your windows on it shows me an error(I'll add a photo of that error if that helps). Then I took a break and thought I'll try to fix it after the break . During the break I remember that I forgot to take an important backup from the maindrive partition which is already formatted so after the panic attack I try to look it up on the internet on how to recover lost data. And they tell me to STOP using my laptop so I shut it down and pray for an answer.
So now I can boot into ubuntu via efi file if that means anything and I have one drive partition with some imp. Files but not all, a formatted main drive partition(which I want to recover data from) and some unallocated space.
Also please try to make the explanations simple.i dont understand much computer.
As a side note this data loss has traumatised me so much that while writing this I was copying after writing each sentence lol.
https://drive.google.com/file/d/1V59NTQKLtPNTfr5waJzwiwaWb6EMlYlK/view?usp=drivesdk