A Study Of Compact Objects: Stellar Evolution Models And X-Ray Binaries