SN74HC47N or 74LS47 is a BCD to 7-segment decoder/driver IC. It accepts a binary coded decimal as input and converts it into a pattern to drive a seven-segment for displaying digits 0 to 9. Binary coded decimal (BCD) is an encoding in which each digit of a number is represented by its own binary sequence (usually of four bits).
For example 239 in BCD is represented as 0010 0011 1001.
74LS47 IC accepts four lines of BCD (8421) input data and generates their complements internally. The data is decoded with seven AND/OR gates to drive indicator LEDs of the seven segment directly. The outputs correspond to Common anode (CA) configuration of seven segment.
https://www.electroschematics.com/7644/7447-datasheet/
For example 239 in BCD is represented as 0010 0011 1001.
74LS47 IC accepts four lines of BCD (8421) input data and generates their complements internally. The data is decoded with seven AND/OR gates to drive indicator LEDs of the seven segment directly. The outputs correspond to Common anode (CA) configuration of seven segment.
https://www.electroschematics.com/7644/7447-datasheet/