What I mean is: let's say I've been researching a technology for 20 turns. Then I got one free tech. If I choose to get the one I've been working on for free, are these 20 turns lost, or is it possible to carry the 20 turns' worth resources elsewhere?
Same with production. If I am making a worker for 5 turns and then choose to make a warrior, will I have to start from the beginning or will I have some part of it already done?