Why
Regarded just as a small object, my heart has no apparent function. Only as a part of my living body is my heart's function evident. A formal definition might be: X has function F in context C with success condition S, just in case X's F-ing is causally necessary to C's S-ing.