While they have different meanings (paste is a sticky substance used for adhering), they sound the same and share the same spelling except for the final letter.
Here's an example:
* "The runner paced himself to conserve energy." (verb meaning to move at a steady speed)
* "The artist used paste to attach the paper to the canvas." (noun meaning a sticky substance)