Is this OS DVD media, or just a download code?

I have a machine Macbook 2007 and the HDD died so need to completely reinstall new image to new HDD. But can't find my old media. I have another machine Macbook Pro 2015 but the appstore says I can't download LION to it to create image.