Layered black phosphorus (BP), a promising 2D material, tends to oxidize under ambient conditions. While such defective BP is typically considered undesirable, defect engineering has in fact been exploited in contemporary materials to create new behaviors and functionalities. In this spirit, new opportunities arising from intrinsic defect states in BP, particularly through harnessing unique photoresponse characteristics, and demonstrating three distinct optoelectronic applications are demonstrated. First, the ability to distinguish between UV-A and UV-B radiations using a single material that has tremendous implications for skin health management is shown. Second, the same device is utilized to show an optically stimulated mimicry of synaptic behavior opening new possibilities in neuromorphic computing. Third, it is shown that serially connected devices can be used to perform digital logic operations using light. The underpinning photoresponse is further translated on flexible substrates, highlighting the viability of the technology for mechanically conformable and wearable systems. This demonstration paves the way toward utilizing the unexplored potential offered by defect engineering of 2D materials for applications spanning across a broad range of disciplines.