Pastry
Part of speech: noun
Definition: A baked food group which contains items made from flour and fat pastes such as pie crust; also tarts, bear claws, Napoleons, puff pastries, etc.
Cookie
Part of speech: noun
Definition: A small flat, baked cake which is either crisp or soft but firm (often with chocolate chips, candies or nuts mixed in.)A specifically American-style biscuit.a bun.An HTTP cookie, web cookie.A magic cookie.A young, attractive woman. As it is often intended to sexually objectify said woman, it can be seen as offensive (though only mildly, as it is a somewhat dated term, but not yet obsolete).