If two people share ideas to form the invention, they are joint inventors. The patent will issue to them jointly, provided the patent application is otherwise proper. If one person provided all of the ideas of the invention, and the other only followed instruction in making it, the person who provided all of the ideas is the sole inventor.